package com.basicsOperation.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;




@RequestMapping("Jump")
@Controller()
public class HomePageController {

	/**
	 * 跳转销售明细
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpLogin")
	public String jumpLogin(HttpServletRequest request,HttpServletResponse response){
		return "../login.jsp";
	}
	
	
	/**
	 * 跳转销售明细
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpSalesDetailed")
	public String JumpSalesDetailed(HttpServletRequest request,HttpServletResponse response){
		   return "salesDetailed.jsp";
	}
	

	/**
	 * 跳转销售明细2
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpSalesDetailed2")
	public String JumpSalesDetailed2(HttpServletRequest request,HttpServletResponse response){
		return "salesDetailed2.jsp";
	}
	
	/**
	 * 跳转销售明细3
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpSalesDetailed3")
	public String JumpSalesDetailed3(HttpServletRequest request,HttpServletResponse response){
		return "salesDetailed3.jsp";
	}
	
	
	/**
	 * 跳转测试页面
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpTestPage1")
	public String jumpTestPage1(HttpServletRequest request,HttpServletResponse response){
		return "/test/test1.jsp";
	}
	
	//
	/**
	 * 跳转测试页面
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpTestPage2")
	public String jumpTestPage2(HttpServletRequest request,HttpServletResponse response){
		return "/test/test2.jsp";
	}
	
	
	
	/**
	 * 跳转测试页面
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpTestPage3")
	public String jumpTestPage3(HttpServletRequest request,HttpServletResponse response){
		return "/test/test3.jsp";
	}
	

	/**
	 * 跳转测试监听器页面
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpListener")
	public String jumpListener(HttpServletRequest request,HttpServletResponse response){
		return "/test/listener.jsp";
	}
	

	/**
	 * 跳转测试拦截器页面
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpInterceptor")
	public String jumpInterceptor(HttpServletRequest request,HttpServletResponse response){
		return "/test/interceptor.jsp";
	}
	
	
	

	/**
	 * 跳转kettle调用页面
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpKettle")
	public String jumpKettle(HttpServletRequest request,HttpServletResponse response){
		return "configKettle.jsp";
	}
	
	
	/**
	 * 跳转kettle调用页面
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpUploadAndDownload")
	public String jumpUploadAndDownload(HttpServletRequest request,HttpServletResponse response){
		return "uploadAndDownload.jsp";
	}
	
	
	/**
	 * 跳转库存缺货率图表
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("jumpStockCharts")
	public String jumpStockCharts(HttpServletRequest request,HttpServletResponse response){
		return "/ECharts/stock_charts.jsp";
	}
	
	
	
	
	
}
